<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="${pageContext.request.contextPath }/UpdateEmployeeServlet" method="get">
             <input type="text" name="id" value="${employee.id }" style ="display:none">
     姓     名:     <input type="text" name="username" value="${employee.name }" >
    员工性别: <input type="text" name="sex" value="${employee.sex }"  ><br>
   员工年龄： <input type="text" name="age"  value="${employee.age }" >
   所属部门：  <input type="text" name="dapartment" value="${employee.dapartment }" ><br>
   所在职务：       <input type="text" name="type" value="${employee.type }"  >
      工龄：      <input type="text" name="year" value="${employee.year }"  ><br>
      <input type="submit" value="提交">
</form>
</body>
</html>